package stripsLanguage;

/**
 * Klasa opisuje pojedynczy obiekt, ktory wystepuje w predykatach
 * @author Lukasz
 *
 */
public class Instance {
	
	/** name of the instance **/
	private String Name;
	
	/** identifier of the instance **/
	private int Id;

	public Instance(String name, int id)
	{
		Name = name;
		Id = id;
	}
	
	public void setName(String name) {
		Name = name;
	}

	public String getName() {
		return Name;
	}

	public void setId(int id) {
		this.Id = id;
	}

	public int getId() {
		return Id;
	}
	
	public String toString()
	{
		return "(" + getId() + "," + getName() + ") ";		
	}
}
